home *** CD-ROM | disk | FTP | other *** search
- Path: colossus.holonet.net!shpbbs!paul.kelley
- From: paul.kelley@busilink.com (Paul Kelley)
- Newsgroups: comp.lang.c
- Subject: Problem with ascii to number conversion.
- Date: Sat, 20 Jan 1996 16:43:12 GMT
- Message-ID: <96012012081730705@busilink.com>
- Organization: BusiLink
- Distribution: world
-
- Hi,
- i am a beginner c programmer, stuck on what i thought was a simple
- problem. I have an ascii input file that contains payroll info for a
- month, the data is monetary values as ascii strings. I am trying to
- convert the ascii ti numbers total the result then place in another
- file. I am using micrsoft quick C and the ascii to number functions in
- it. Apparenntly these functions only work correctly up to four digits.
- After that teh ouput goes wild.
- Can anyone help me understand what is not corrrect? Is there any
- routines out there that can do this or am i looking at hardare/softare
- limitation?
- Any suggestions input or help would subject the giver
- to a profusion of thanks and positive thoughts.
-
- thanks
- Paul.
-